home *** CD-ROM | disk | FTP | other *** search
Wrap
//chris lava textures/liquid/alicelava { surfaceparm lava surfaceparm nolightmap surfaceparm noimpact surfaceparm cameraclip q3map_globaltexture qer_editorimage textures/liquid/lava1_3.tga q3map_lightimage textures/liquid/lava1_3.tga { map textures/liquid/lava1_3.tga tcMod turb 0.000000 0.200000 0.000000 0.05 tcmod scale .4 .4 } } textures/liquid/alicelava-300 { surfacelight 300 surfaceparm lava surfaceparm nolightmap surfaceparm noimpact surfaceparm cameraclip q3map_globaltexture qer_editorimage textures/liquid/lava1_3.tga q3map_lightimage textures/liquid/lava1_3.tga { map textures/liquid/lava1_3.tga tcMod turb 0.000000 0.200000 0.000000 0.05 tcmod scale .4 .4 } } textures/liquid/alicelava-flowing-300 { surfacelight 300 surfaceparm lava surfaceparm nolightmap surfaceparm noimpact surfaceparm cameraclip q3map_globaltexture qer_editorimage textures/liquid/lava1_3.tga q3map_lightimage textures/liquid/lava1_3.tga { map textures/liquid/lava1_3.tga //tcMod turb 0.000000 0.200000 0.000000 0.05 tcmod scale .4 .4 tcMod scroll 0.20000 0.20000 } } textures/liquid/alicelava-flowing { surfaceparm lava surfaceparm nolightmap surfaceparm noimpact surfaceparm cameraclip q3map_globaltexture qer_editorimage textures/liquid/lava1_3.tga q3map_lightimage textures/liquid/lava1_3.tga { map textures/liquid/lava1_3.tga //tcMod turb 0.000000 0.200000 0.000000 0.05 tcmod scale .4 .4 tcMod scroll 0.30000 0.30000 } } textures/liquid/watertest1 { // deformVertexes wave 100 sin 0.000000 2.000000 0.000000 0.200000 tessSize 128 surfaceparm nolightmap surfaceparm nonsolid surfaceparm trans surfaceparm water qer_editorimage textures/liquid/f2wtr_blu.tga qer_trans 0.500000 { map textures/liquid/f2wtr_blu.tga blendFunc GL_DST_COLOR GL_SRC_COLOR tcMod scale 0.500000 0.500000 tcMod scroll 0.010000 0.010000 } { map textures/liquid/f2wtr_blu.tga blendFunc GL_DST_COLOR GL_SRC_COLOR tcMod scale 0.500000 0.500000 tcMod scroll -0.010000 -0.010000 tcMod stretch sin 1.000000 0.100000 0.000000 0.050000 } } textures/liquid/water1 { // deformVertexes wave 100 sin 0.000000 2.000000 0.000000 0.200000 tessSize 128 surfaceparm nolightmap surfaceparm nonsolid surfaceparm trans surfaceparm water qer_editorimage textures/liquid/f2wtr_blu.tga qer_trans 0.500000 { map textures/liquid/f2wtr_blu.tga blendFunc GL_DST_COLOR GL_SRC_COLOR tcMod scale 0.500000 0.500000 tcMod scroll 0.010000 0.010000 } { map textures/liquid/f2wtr_blu.tga blendFunc GL_DST_COLOR GL_SRC_COLOR tcMod scale 0.500000 0.500000 tcMod scroll -0.010000 -0.010000 tcMod stretch sin 1.000000 0.100000 0.000000 0.050000 } } textures/liquid/water1-dimlight { // deformVertexes wave 100 sin 0.000000 2.000000 0.000000 0.200000 tessSize 128 surfaceparm nolightmap surfaceparm nonsolid surfaceparm trans surfaceparm water qer_editorimage textures/liquid/f2wtr_blu.tga qer_trans 0.500000 //q3map_surfacelight 1000 { map textures/liquid/F2wtr_blu.tga blendFunc GL_DST_COLOR GL_SRC_COLOR tcMod scale 0.500000 0.500000 tcMod scroll 0.010000 0.010000 } { map textures/liquid/F2wtr_blu.tga blendFunc GL_DST_COLOR GL_SRC_COLOR tcMod scale 0.500000 0.500000 tcMod scroll -0.010000 -0.010000 tcMod stretch sin 1.000000 0.100000 0.000000 0.050000 } } textures/liquid/water1-brightlight { // deformVertexes wave 100 sin 0.000000 2.000000 0.000000 0.200000 tessSize 128 surfacelight 800 surfaceparm nolightmap surfaceparm nonsolid surfaceparm trans surfaceparm water qer_editorimage textures/liquid/f2wtr_blu.tga qer_trans 0.500000 { map textures/liquid/f2wtr_blu.tga blendFunc GL_DST_COLOR GL_SRC_COLOR tcMod scale 0.500000 0.500000 tcMod scroll 0.010000 0.010000 } { map textures/liquid/f2wtr_blu.tga blendFunc GL_DST_COLOR GL_SRC_COLOR tcMod scale 0.500000 0.500000 tcMod scroll -0.010000 -0.010000 tcMod stretch sin 1.000000 0.100000 0.000000 0.050000 } } textures/liquid/water1-opaque { // deformVertexes wave 100 sin 0.000000 2.000000 0.000000 0.200000 tessSize 128 surfaceparm nolightmap surfaceparm nonsolid surfaceparm trans surfaceparm water qer_editorimage textures/liquid/f2wtr_blu.tga qer_trans 0.500000 { map textures/liquid/f2wtr_blu.tga blendFunc GL_DST_COLOR GL_SRC_COLOR tcMod scale 0.500000 0.500000 tcMod scroll 0.010000 0.010000 } { map textures/liquid/f2wtr_blu.tga blendFunc GL_DST_COLOR GL_SRC_COLOR tcMod scale 0.500000 0.500000 tcMod scroll -0.010000 -0.010000 tcMod stretch sin 1.000000 0.100000 0.000000 0.050000 } } textures/liquid/water2-dimlight { // deformVertexes wave 100 sin 0.000000 2.000000 0.000000 0.200000 tessSize 128 surfaceparm nolightmap surfaceparm nonsolid surfaceparm trans surfaceparm water qer_editorimage textures/liquid/wtr_blu01.tga qer_trans 0.500000 { map textures/liquid/wtr_blu01.tga blendFunc GL_DST_COLOR GL_SRC_COLOR tcMod scale 0.500000 0.500000 tcMod scroll 0.010000 0.010000 } { map textures/liquid/wtr_blu01.tga blendFunc GL_DST_COLOR GL_SRC_COLOR tcMod scale 0.500000 0.500000 tcMod scroll -0.010000 -0.010000 tcMod stretch sin 1.000000 0.100000 0.000000 0.050000 } { map textures/liquid/wtr_blu01.tga blendFunc GL_DST_COLOR GL_SRC_COLOR tcMod scale 0.500000 0.500000 tcMod scroll 0.010000 -0.010000 tcMod stretch sin 1.000000 0.100000 0.000000 0.050000 } } textures/liquid/water3-dimlight { // deformVertexes wave 100 sin 0.000000 2.000000 0.000000 0.200000 tessSize 128 surfaceparm nolightmap surfaceparm nonsolid surfaceparm trans surfaceparm water qer_editorimage textures/liquid/wtr_blu02.tga qer_trans 0.500000 { map textures/liquid/wtr_blu03inv.tga // blendFunc GL_DST_COLOR GL_ZERO blendFunc GL_DST_COLOR GL_SRC_COLOR tcMod scale 0.500000 0.500000 tcMod scroll 0.010000 0.010000 } } textures/liquid/water4-farplane { cull disable // deformVertexes wave 100 sin 0.000000 5.000000 0.000000 0.200000 tessSize 128 surfaceparm nonsolid surfaceparm trans surfaceparm water q3map_globaltexture // surfaceparm nolightmap qer_editorimage textures/liquid/wtr_farplane.tga qer_trans 0.500000 { map $lightmap blendFunc GL_dst_color GL_zero rgbgen identity } { //map textures/testliq/1.tga animmap 12 textures/testliq/1.tga textures/testliq/2.tga textures/testliq/3.tga textures/testliq/4.tga textures/testliq/5.TGA /textures/testliq/4.TGA textures/testliq/3.TGA textures/testliq/2.TGA blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA // blendFunc GL_SRC_ALPHA GL_ONE tcMod turb 0.000000 0.100000 0.500000 0.0400000 // tcMod scroll 0.025000 0.040000 // tcMod scroll -0.050000 -0.030000 } { map textures/testliq/REF2.TGA blendfunc gl_one gl_one // blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA tcGen environment } { map textures/liquid/wtr_blu04inv.tga blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA // blendFunc GL_SRC_ALPHA GL_ONE tcMod turb 0.000000 0.300000 0.000000 0.0300000 tcMod scroll 0.025000 0.040000 tcMod scroll -0.050000 -0.030000 } } textures/liquid/water4-dimlight { cull disable // deformVertexes wave 100 sin 0.000000 8.000000 0.000000 0.200000 tessSize 128 surfaceparm nonsolid surfaceparm trans surfaceparm water q3map_globaltexture q3map_backshader bottomsurf // surfaceparm nolightmap qer_editorimage textures/liquid/wtr_blu04inv.tga qer_trans 0.500000 { map $lightmap blendFunc GL_dst_color GL_zero rgbgen identity } { map textures/testliq/wtr_brown.tga //blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA blendFunc GL_ZERO GL_SRC_COLOR alphaGen dot 1 .9 tcMod turb 0.000000 0.600000 0.000000 0.0300000 tcMod scale .2 .2 } { //map textures/testliq/1.tga animmap 12 textures/testliq/1.tga textures/testliq/2.tga textures/testliq/3.tga textures/testliq/4.tga textures/testliq/5.TGA /textures/testliq/4.TGA textures/testliq/3.TGA textures/testliq/2.TGA blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA alphaGen dot .9 .5 // blendFunc GL_SRC_ALPHA GL_ONE tcMod turb 0.000000 0.400000 0.500000 0.0400000 tcMod scale .4 .4 } { map textures/testliq/top3.tga //blendFunc gl_dst_color gl_zero blendfunc gl_zero gl_src_color tcMod turb 0 1 0 .08 tcMod scale .05 .05 } } textures/liquid/water5-nowave { cull disable surfaceparm nonsolid surfaceparm trans surfaceparm water q3map_globaltexture q3map_backshader bottomsurf // surfaceparm nolightmap qer_editorimage textures/liquid/wtr_blu04inv.tga qer_trans 0.500000 { map $lightmap blendFunc GL_dst_color GL_zero rgbgen identity } { map textures/testliq/wtr_brown.tga //blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA blendFunc GL_ZERO GL_SRC_COLOR alphaGen dot 1 .9 tcMod turb 0.000000 0.600000 0.000000 0.0300000 tcMod scale .2 .2 } { //map textures/testliq/1.tga animmap 12 textures/testliq/1.tga textures/testliq/2.tga textures/testliq/3.tga textures/testliq/4.tga textures/testliq/5.TGA /textures/testliq/4.TGA textures/testliq/3.TGA textures/testliq/2.TGA blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA alphaGen dot .9 .5 // blendFunc GL_SRC_ALPHA GL_ONE tcMod turb 0.000000 0.400000 0.500000 0.0400000 tcMod scale .4 .4 } { map textures/testliq/top3.tga //blendFunc gl_dst_color gl_zero blendfunc gl_zero gl_src_color tcMod turb 0 1 0 .08 tcMod scale .05 .05 } } textures/liquid/testwater1 { cull disable // deformVertexes wave 100 sin 0.000000 5.000000 0.000000 0.800000 tessSize 128 surfacelight 500 surfaceparm nonsolid surfaceparm trans surfaceparm water q3map_globaltexture surfaceparm nolightmap qer_editorimage textures/liquid/wtr_test1.tga qer_trans 0.500000 { animmap 14 textures/testliq/1.tga textures/testliq/2.tga textures/testliq/3.tga textures/testliq/4.tga textures/testliq/5.TGA /textures/testliq/4.TGA textures/testliq/3.TGA textures/testliq/2.TGA blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA tcMod turb 0.000000 0.40000 0.000000 0.060000 alphaGen dot 1 .3 tcMod scale .4 .4 } { map textures/liquid/wtr_blu04inv.tga blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA // blendFunc GL_SRC_ALPHA GL_ONE tcMod turb 0.000000 0.300000 0.500000 0.100000 //tcMod scroll 0.025000 0.040000 //tcMod scroll -0.050000 -0.030000 tcMod scale .5 .5 } { map textures/testliq/topbr.tga blendFunc add tcMod turb 0 1 0 .08 tcMod scale .05 .05 } } // PGM -- for use on water sides not on the surface (between water brushes) textures/liquid/water_nodraw { surfaceparm nonsolid surfaceparm trans surfaceparm nodraw surfaceparm water surfaceparm nolightmap surfaceparm nomarks qer_editorimage textures/liquid/liquid_nodraw.tga qer_trans 0.500000 } textures/liquid/testwater3 { cull disable //deformVertexes wave 256 sin 0.000000 8.000000 0.000000 0.3 deformVertexes wavenormal 128 0.04 0.03 0.0 sin 0 1 0 .3 tessSize 32 surfaceparm nonsolid surfaceparm trans q3map_globaltexture surfaceparm water surfaceparm nolightmap qer_editorimage textures/liquid/wtr_test3.tga qer_trans 0.500000 { map textures/testliq/top.tga blendFunc gl_zero gl_src_color depthwrite //tcMod turb 0 -.06 0.75 2 tcMod scroll -.08 -.08 } { map textures/testliq/top2.tga blendFunc gl_zero gl_src_color //tcMod turb 0 .06 0.75 2 tcMod scroll .08 .08 } { map textures/liquid/shot0044.tga //blendfunc gl_dst_color gl_zero alphagen dot .7 0 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA tcMod scale 2 2 tcGen environment } } textures/liquid/bottomsurf { // deformVertexes wave 100 sin 0.000000 8.000000 0.000000 0.200000 tessSize 128 surfaceparm nonsolid surfaceparm trans surfaceparm water q3map_globaltexture qer_editorimage textures/liquid/wtr_blu04inv.tga qer_trans 0.500000 { map textures/testliq/REF5.TGA blendfunc gl_one gl_one // blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA tcGen environment } { //map textures/testliq/1.tga animmap 12 textures/testliq/1.tga textures/testliq/2.tga textures/testliq/3.tga textures/testliq/4.tga textures/testliq/5.TGA /textures/testliq/4.TGA textures/testliq/3.TGA textures/testliq/2.TGA blendFunc GL_DST_COLOR GL_ZERO // blendFunc GL_SRC_ALPHA GL_ONE tcMod turb 0.000000 0.100000 0.500000 0.0400000 } } // DHM - just testing stuff // ------------------------ textures/liquid/flowingwater1 { qer_editorimage liquid/water1_1.tga qer_trans 0.500000 cull disable //deformVertexes wave 64 sin 0.000000 3.000000 0.000000 0.50000 //tessSize 64 surfaceparm nonsolid surfaceparm trans q3map_globaltexture surfaceparm water { map $lightmap //blendFunc GL_dst_color GL_zero //blendfunc gl_zero gl_src_color rgbgen identity } { map textures/liquid/water1_1.tga rgbGen identity tcMod turb 0.0 0.4 0.5 0.3 tcMod scroll 0 -1.3 blendfunc filter //tcMod rotate 90 0 } { //depthwrite map models/fx/wfall/wfall2.tga blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA tcMod scale 0.198 0.25 tcMod turb 0.0 0.08 0.3 0.25 tcMod scroll 0.0000 -0.900000 } } textures/liquid/bw_waterbak { cull disable // deformVertexes wave 100 sin 0.000000 3.000000 0.000000 0.30000 tessSize 128 surfaceparm nonsolid surfaceparm trans q3map_globaltexture surfaceparm water surfaceparm nolightmap qer_editorimage textures/testliq/bw_top.tga qer_trans 0.500000 if 0 { map $lightmap // depthwrite blendFunc GL_dst_color GL_zero rgbgen identity } endif { animmap 14 textures/testliq/bw1.tga textures/testliq/bw2.tga textures/testliq/bw3.tga textures/testliq/bw4.tga textures/testliq/bw5.TGA /textures/testliq/bw4.TGA textures/testliq/bw3.TGA textures/testliq/bw2.TGA blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA //blendFunc GL_dst_color GL_zero tcMod turb 0.000000 0.40000 0.000000 0.060000 //alphaGen constant .9 alphaGen dot .7 .6 //alphaGen oneminusdot 0.99 0.8 tcMod scale .6 .6 } { map textures/testliq/bw_top.tga //blendFunc gl_zero gl_src_color blendFunc GL_dst_color GL_zero tcMod turb 0 1 0 .1 tcMod scale .07 .07 tcMod scroll 0 -.03 } } // flat opaque non-tesselating icy water for garden4 // FIXME: this shader is temp. needs proper texture maps and stuff. (-IK) textures/liquid/flatwater2 { qer_editorimage liquid/wtr_test1.tga q3map_globaltexture surfaceparm nonsolid surfaceparm water surfaceparm nomarks qer_trans 0.500000 { map $lightmap rgbgen identity } { map textures/liquid/wtr_blu03inv.tga rgbGen identity tcMod scale 0.1 0.1 tcMod turb 0.0 0.1 0.15 0.2 tcMod scroll 0 0.01 blendfunc GL_ONE GL_SRC_COLOR } { map textures/liquid/wtr_blu02inv.tga blendfunc GL_DST_COLOR GL_ZERO tcMod scale 0.15 0.15 tcMod turb 0.0 0.08 0.3 0.25 tcMod scroll 0.01 -0.005 } } // flat opaque non-tesselating swamp water to save r_speeds in tears. // FIXME: this shader is temp. needs proper texture maps and stuff. (-IK) textures/liquid/flatwater { qer_editorimage liquid/wtr_test1.tga q3map_globaltexture surfaceparm nonsolid surfaceparm water surfaceparm nomarks qer_trans 0.500000 { map $lightmap rgbgen identity } { map textures/liquid/wtr_test1.tga rgbGen identity tcMod scale 0.1 0.1 tcMod turb 0.0 0.1 0.15 0.2 tcMod scroll 0 0.01 blendfunc GL_ONE GL_SRC_COLOR } { map textures/liquid/wtr_blu02inv.tga blendfunc GL_DST_COLOR GL_ZERO tcMod scale 0.15 0.15 tcMod turb 0.0 0.08 0.3 0.25 tcMod scroll 0.01 -0.005 } } // testing.. for tears1 & 2 textures/liquid/darkflowingwater1 { qer_editorimage liquid/water1_1.tga qer_trans 0.500000 cull disable surfaceparm nonsolid surfaceparm trans q3map_globaltexture surfaceparm water { map $lightmap rgbgen identity } { map textures/liquid/water1_1.tga rgbGen identity tcMod scale 0.5 0.5 tcMod turb 0.0 0.2 0.25 0.15 tcMod scroll 0 -1.3 blendfunc GL_ONE GL_SRC_COLOR } { map models/fx/wfall/wfall2.tga blendFunc GL_DST_COLOR GL_ONE_MINUS_SRC_ALPHA tcMod scale 0.198 0.25 tcMod turb 0.0 0.08 0.3 0.25 tcMod scroll 0.0000 -0.900000 } } textures/liquid/green_slime2_1 { cull none surfacelight 10 surfaceparm slime q3map_globaltexture surfaceparm nolightmap surfaceparm noimpact surfaceparm nonsolid surfaceparm trans qer_editorimage textures/liquid/green_slime2_1.tga //q3map_lightimage textures/liquid/green_slime2_1.tga qer_trans 0.500000 { map textures/liquid/green_slime1_1.tga //blendFunc GL_DST_COLOR GL_SRC_COLOR blendFunc GL_SRC_ALPHA GL_SRC_COLOR alphagen dot 1 0 //blendfunc add tcMod turb 0 0.1 0.75 0.2 } { map textures/liquid/green_slime2_1.tga blendFunc GL_dst_color GL_one //blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA tcMod turb 0 0.1 0 0.2 } //{ // map textures/liquid/grey1.tga // blendfunc add // tcmod scale .2 .2 // tcmod turb 0 .1 0 .1 //} } textures/liquid/slime_nodraw { surfaceparm nonsolid surfaceparm trans surfaceparm nodraw surfaceparm slime surfaceparm nolightmap surfaceparm nomarks surfaceparm noimpact qer_editorimage textures/liquid/slime_nodraw qer_trans 0.500000 } textures/queen/wall_ins_goop2 { cull none //deformVertexes wave 100 sin .1 2 0 0.2 //tessSize 128 //surfacelight 10 surfaceparm slime //surfaceparm nolightmap surfaceparm noimpact surfaceparm nonsolid surfaceparm trans qer_editorimage textures/queen/wall_ins_goop2.tga //q3map_lightimage textures/queen/wall_ins_goop2.tga qer_trans 0.500000 { map $lightmap rgbgen identity } { map textures/queen/wall_ins_goop2.tga // blendFunc GL_DST_COLOR GL_SRC_COLOR blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA tcMod turb 0.000000 0.10000 0.100000 0.2 } } //The water doesnt wave anymore but the tesselation is back. It has to be in or the shader doesnt function. Also I took the lightmap pass out, because it isnt needed. It just adds to the polycount. The water is now opaque. textures/liquid/tears2water { deformVertexes wavenormal 512 0.04 0.03 0 sin 0 1 0 .3 tessSize 128 cull disable surfaceparm nonsolid //surfaceparm trans q3map_globaltexture surfaceparm water surfaceparm nolightmap qer_editorimage textures/common/darkblue.tga qer_trans 0.500000 { map textures/common/darkblue.tga //blendfunc GL_ONE GL_SRC_COLOR //depthwrite } { map textures/effects/potears.tga alphagen dot .5 0 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA tcMod scale 2 2 tcGen environment } } // from "liquid/flowingblood" textures/liquid/tears2flowingwater { qer_editorimage liquid/water1_blood.tga qer_trans 0.500000 cull disable //deformVertexes wave 64 sin 0.000000 3.000000 0.000000 0.50000 //tessSize 64 surfaceparm nonsolid surfaceparm trans q3map_globaltexture surfaceparm water surfaceparm nolightmap { map textures/liquid/water1_blood.tga depthwrite blendfunc gl_zero gl_src_color tcMod turb 0.0 0.4 0.5 0.3 tcMod scroll 0 -1.3 } { map models/fx/wfall/wfall_blood.tga //blendfunc gl_zero gl_src_color //blendfunc add blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA tcMod scale 0.198 0.25 tcMod turb 0.0 0.08 0.3 0.25 tcMod scroll 0.0000 -0.900000 } }